package com.gionee.survey.dao;

import java.util.List;

import com.gionee.survey.bean.Question;

public interface IQuestionDao {
    int deleteByPrimaryKey(String id);

    int insert(Question record);

    int insertSelective(Question record);

    Question selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Question record);

    int updateByPrimaryKey(Question record);
    
    List<Question> selectBySurveyId(String surveyId);
}